
html, body{
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.clear-select{
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer / Edge */
}

.app {
    width: 100% !important;
    display: grid;
    grid-template-columns: auto 1fr 1fr 1fr auto;
    grid-template-rows: 0fr 1fr 1fr 1fr 1fr;
    gap: 12px 12px;
    grid-auto-flow: row;
    height: 100vh;
    overflow: hidden;
    padding-bottom: 26px;
    padding-right: 16px;
    padding-left: 8px;
    padding-top: 12px
}

.绘制的组件 * {
    pointer-events: none;

}

.头部 {
    grid-area: 1 / 1 / 2 / 6;
}

.属性框 {
    grid-area: 2 / 1 / 5 / 2;
    width: 280px;
    min-width: 280px;
    box-shadow: 5px 5px 10px #dddfe5;

}

.设计区域 {
    grid-area: 2 / 2 / 5 / 5;
    box-shadow: 5px 5px 10px #dddfe5;

}

.工具箱 {
    grid-area: 2 / 5 / 5 / 6;
    width: 160px;
    min-width: 160px;
    box-shadow: 5px 5px 10px #dddfe5;

}

.调试信息 {
    box-shadow: 5px 5px 10px #dddfe5;

    grid-area: 5 / 1 / 6 / 6;
}

.标题 {

    grid-area: 1 / 1 / 2 / 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.工具条 {
    grid-area: 1 / 2 / 2 / 6;
    padding: 6px;
}

.属性框 .el-tabs__content {
    height: 100%;
    padding: 4px;
}

.工具箱 .el-tabs__content {
    height: 90% !important;
    overflow-y: auto;
}

.app2 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 0.1fr 2.6fr 0.1fr;
    gap: 10px 0px;
    grid-auto-flow: row;
    grid-template-areas:
    "组件列表"
    "属性表格"
    "添加组件事件";

    justify-content: space-between;
    height: 91%;
}

.组件列表 {
    grid-area: 组件列表;
}

.属性表格 {
    grid-area: 属性表格;
    overflow-y: auto;
    padding-left: 6px;
    padding-right: 4px;
}

.添加组件事件 {
    grid-area: 添加组件事件;
}

.el-form-item {
    margin-bottom: 8px;
}

.画布 {
    background: rgb(240, 240, 240);
    position: relative;
    overflow: hidden;
}

.app2 .el-form-item {
     margin-bottom: 8px;
}
#pane-1{
    height: 100%;
}
.调试信息 .el-tab-pane{
    padding: 8px;
}

/* 修改滚动条轨道的宽度 */
::-webkit-scrollbar {
    width: 4px; /* 调整滚动条宽度为8像素 */
    height: 4px; /* 调整滚动条高度为2像素 */
}

/* 修改滚动条轨道的背景颜色 */
::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* 设置轨道的背景颜色 */
}

/* 修改滚动条的滑块（拖动条）颜色 */
::-webkit-scrollbar-thumb {
    background-color: #c4c4c4; /* 设置滑块的颜色 */
}

/* 修改滚动条的边框颜色 */
::-webkit-scrollbar-thumb:hover {
    background-color: #a9a9a9; /* 设置滑块的悬停颜色 */
}

* {
    box-sizing: border-box;
}

.el-tree-node__children{
    width: 500px !important;
}
